Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Php
1) Algorithms
2) Authentication
3) Calendar
4) Chart
5) Class
6) Code Snippets
7) Components
8) Content Management
9) Cookie Session
10) Data Type
11) Date Time
12) Design Patterns
13) Development
14) DNS
15) Email
16) File Directory
17) Form
18) Functions
19) Graphics
20) HTML
21) Language Basics
22) Login Authentication
23) Math
24) MySQL Database
25) Network
26) Operator
27) PDF
28) Reflection
29) Searching
30) Site Navigation
31) Statement
32) Statistics and Counters
33) Strings
34) User Management
35) Web Services SOAP WSDL
36) XML
Cookie Session
1) A flat file counter
2) A session variable can be destroyed with a call to session_unregister()
3) Accessing Session Variables
4) Adding Session Data
5) Assigning cookie names according to array index value
6) Authentication script to authenticate users in Active Directory through LDAP
7) Check for a valid login in sessions
8) Checking for Cookie Support from PHP
9) Checking Session Data
10) Complete, simple working example of login screen and check on a unique
11) Cookie created
12) Count Visits with session
13) Counting page accesses with a session
14) Create session variable
15) Create_session_variable php
16) Creating a Test Cookie
17) Delete session variable
18) Delete_session_variable php
19) Deleting a Cookie Using setcookie()
20) Deleting Cookies
21) Deleting Existing Session Variables
22) Destroying a session
23) Doing something special for a logged in user
24) Encode all session data into a single string and return the result
25) Encoding Data
26) Ending a Session
27) Function session_destroy() ends all persistent data corresponding to the current user session
28) Function session_encode() formats session variables for storage
29) Function session_id() returns the users SID originally created by session_start()
30) Function that allows a Javascript cookie to be set after HTML has been
31) Function that does language negotiation based on the Accept-Language
32) Get Cookie Data
33) Implementing Sessions
34) Initiate session and create a few session variables
35) Modifying Session Variables
36) PHP 5 setcookie() Parameters
37) Php session_start()
38) Printing a cookie value
39) Printing session data
40) Reading a cookie value
41) Reading all cookie values
42) Reading Cookies
43) Reading Session Data
44) Register session variables
45) Registering a variable by including it in $_SESSION
46) Registering an Array Variable with a Session
47) Registering Variables with a Session
48) Session based counter
49) Session preferences
50) Session running
51) Session starter
52) Session using the proper $_SESSION super global
53) Session variable encoding
54) Session_id() function
55) Session_is_registered() checks whether or not a variable has been registered
56) Session_set_save_handler( )
57) Session_start() checks to see if a session has started, and if not, it starts one
58) Sessions with register_globals on or off in session_test php
59) Setting a cookie with a domain restriction
60) Setting a cookie with a path restriction
61) Setting an expiring cookie
62) Setting and Printing a Cookie Value
63) Setting cookie expiration
64) Setting the cookie domain
65) Setting the cookie path
66) Setting the cookie path to a specific directory
67) Setting Up Cookie Authentication
68) Smart Counter - This little script is a plain and simple hit counter that
69) Starting a page with setcookie()
70) Starting or Resuming a Session
71) Still Logged In with cookie
72) Storing Complex Data Types in Sessions
73) Storing Complex Data Types to session
74) Storing Simple Data Types in Sessions
75) The cookie expires one day from now
76) The syntax of the session_start () function
77) This functions makes it easy to use session-variables known from ASP
78) Unregistering Variables
79) Use cookie to create page counter
80) Using Multiple Values for a Cookie
81) Using the session_register() Function
82) Verifying session info
83) With this class you can use cookies with chips